package com.fmc123.shop.entity ;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fmc123.base.pesistence.BaseEntity;
/**
 * 
 * @desc    goods_car_items
 * @date    2015/11/14
 */
@Entity
@Table(name = "goods_car_items" )
public class GoodsCarItems extends BaseEntity {
    
    private static final long serialVersionUID = 1L;

    @Column(name = "NUM" ,length = 11 ,nullable = false)  
    private Long num ;
    
    @Column(name = "TOTAL_PRICE" ,nullable = false)  
    private Double totalPrice ;
    
    @Column(name = "NAME" ,length = 255)  
    private String name ;
    public void setNum (Long num){
        this.num = num ;
    }
    public Long getNum (){
        return this.num ;
    }
     
    public void setTotalPrice (Double totalPrice){
        this.totalPrice = totalPrice ;
    }
    public Double getTotalPrice (){
        return this.totalPrice ;
    }
     
    public void setName (String name){
        this.name = name ;
    }
    public String getName (){
        return this.name ;
    }
     
}